package com.atguigu.gmall.product.service;

import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

/**
 * @Author 卡尼奶
 * @Date 2022/5/18 19:20
 * @Version 1.0
 */
public interface FileUploadService {

    /**
     * 上传文件
     * @param file
     * @return
     */
    String fileUpload(MultipartFile file) throws IOException, Exception;
}
